(global-set-key '[f4] 'gdb)
(global-set-key '[f5] 'compile)
(global-set-key '[f11] 'fullscreen-toggle)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-w" 'clipboard-kill-region)
(global-set-key "\M-w" 'clipboard-kill-ring-save)
(global-set-key "\C-y" 'clipboard-yank)

;; Invoke M-x without the Alt key
(global-set-key "\C-x\C-m" 'execute-extended-command)
(global-set-key "\C-c\C-m" 'execute-extended-command)

;; Prefer backward-kill-word over Backspace

(global-set-key "\C-w" 'backward-kill-word)
(global-set-key "\C-x\C-k" 'kill-region)
(global-set-key "\C-c\C-k" 'kill-region)

;; General advice not implemented:

;; Make CapsLock function as Ctrl and Shift+Capslock function as
;; Capslock (much easier on the hands). How this is done varies by
;; window-system. I will add details when I make time. Maybe consult
;; this: http://splittist.livejournal.com/3114.html




